﻿using System.ComponentModel;
using GrapeCity.Forguncy.Plugin;

namespace TencentCloudOcrPlugin
{
    public class AdvancedProperty : ObjectPropertyBase
    {
        [DisplayName("返回原始数据")]
        [Description("是否返回原始数据（json 格式）")]
        public bool TencentRawResp { get; set; } = false;

        [ComboProperty(ValueList = "nearest|ap-guangzhou|ap-shanghai|ap-beijing|ap-chengdu|ap-chongqing|ap-hongkong",
            DisplayList = "就近地域|华南地区(广州)|华东地区(上海)|华北地区(北京)|西南地区(成都)|西南地区(重庆)|港澳台地区(中国香港)")]
        [DisplayName("地域")]
        [Description("用来标识希望操作哪个地域的数据，默认就近地域")]
        [DefaultValue("")]
        public string Region { get; set; } = "nearest";
    }
}